package com.umbacos.udm.client.presenter;

import com.umbacos.udm.client.model.Presenter;
import com.umbacos.udm.client.model.UdmStatus;
import com.umbacos.udm.client.model.View;
import com.umbacos.udm.client.view.MainView;

public class MainPresenter implements Presenter {

	public void bind(final View mv, final UdmStatus udmStatus) {

		MainView ms =  new MainView();

		ServerPresenter sp = new ServerPresenter();
		FileListPresenter fp = new FileListPresenter();
		TrackerListPresenter tp = new TrackerListPresenter();
		TransmissionPresenter tt = new TransmissionPresenter();

		sp.bind(ms, udmStatus);	
		fp.bind(ms, udmStatus);
		tp.bind(ms, udmStatus);
		tt.bind(ms, udmStatus);
		
	}

}
